home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 September
/
Macworld (1998-09).dmg
/
Updaters
/
Plot3D for pro Fit
/
Plot3D 2.1.0 - read me
next >
Wrap
Text File
|
1998-06-22
|
7KB
|
214 lines
Plot3D, version 2.1.0
Plot3D is a free plug-in that lets you use QuickDraw3D to produce
3D models of data and functions. It takes the data from a spreadsheet
window or can generate a plot directly from a function definition.
It produces a 3D model of a surface plot or a scatter plot,
which can be interactively turned around and edited.
The 3D module can then be saved in the QuickDraw3D meta file
format (.3dmf), or can be exported as a high-resolution PICT.
The QuickDraw3D meta file format (.3dmf) is an excellent format
to let other people view your 3D plot because lots of applications
can view it (even SimpleText!).
It can be used on Web pages and it can also be easily converted
into a QuickTime movie or other formats.
For more information, see the QuickTime and QuickDraw3D web page:
<http://www.apple.com/quicktime/>
Plot3D is a plug-in module for the data analysis and scientific plotting
application pro Fit 5.1. Find more information about pro Fit 5.1 at
<http://www.quansoft.com/>
where you can also find the source-code of this plug-in.
Plot3D uses QuickDraw3D.
Quickdraw 3D is a 3D-graphing package from apple which comes with
QuickTime. Find more information about it at
<http://www.apple.com/quicktime/>
Requirements
To run Plot3D, you need a PowerPC Mac OS machine and pro Fit 5.1 or later.
If you don't have pro Fit 5.1 yet, download a FREE, fully functional version
from
<http://www.quansoft.com/trial.html>
or from any "info-mac" ftp server. Since 3D graphing requires a large
amount of memory, we recommend that you assign at least 8 MB to pro Fit.
Many more if you want to produce high-resolution pictures.
If Quickdraw 3D is not already installed on your system, you can
download it from Apple's internet sites, such as
<http://www.apple.com/quicktime/>
Be sure to check if you are using the latest version of QuickDraw3D.
Installation
Once you have installed pro Fit 5.1, simply double-click the file Plot3D
inside the "Plot3D module" folder.
Make sure that the following files are always kept together
in the "Plot3D module" folder:
Plot3D
Text3DLib
Triangulate.Lib
To add the module permanently to pro Fit, put the "Plot3D module"
folder inside the "pro Fit modules" folder in pro Fit's folder.
See the pro Fit's help-system for further details about plug-ins.
Operating Instructions
First prepare your data in a pro Fit data window, or prepare the function
you want to plot (see the instructions which came with pro Fit to do this).
Then choose one of the Plot3D commands from the "Prog" menu.
Plot3D installs the following commands in pro Fit's "Prog" menu:
- Plot3D_Data_XY
Plots data. The data's x-, y- and z-coordinates must be arranged in
three rows in a data window.
Farther columns can be used to specify color and size of points
when using the "scatter plot" option.
- Plot3D_Data_RowCol
Plots a data matrix. The data's x- and y- coordinates are the column and row
numbers of the data window, the z-coordinates the values in the data
window.
- Plot3D_Function
Plots a function. You can select
Choose one of these commands to create a graph. The graph appears in a
graph editing window. You can then use the Save and Edit menus to edit
the graph. When you are through, click Done for placing a picture of the
graph in a drawing window, or select "Save As..." to save a 3DMF representation
of the model.
Getting the source code
The sources of the module and a project file for CodeWarrior Pro 2 are found at
QuantumSoft's download page: http://www.quansoft.com/down.html.
When compiling the project, you may have to add/correct Access Paths
depending on where you have the various header files.
The sources are available for free for your personal use, under the condition
that any changes you make to them are also made available for free.
The easiest way to do this is to pass your changes to QuantumSoft, so that
they can keep an up-to-date version for everybody to use.
Customizing textures
Plot3D allows you to apply a texture to the plotted surface instead of
using a single color. There are various predefined textures that you can use.
There isn't any nice interface to add textures yet, but i fyou are familiar
with ResEdit, you can use the following information to add your own textures:
The textures are stored in Plot3D as resources of type PICT with IDs
starting from 31000. You can paste your own PICT resources as textures.
Note: the resource IDs of the texture PICTs must start from 31000 and
there must be no gaps in the numbers. There can be up to 100 textures.
Known problems
The amount of memory required for plotting substantially depends on
the number of points in your plot.
When plotting around 10000 (e.g. 100 x 100) points, you should have at least
16 MB of free memory, for plotting 65000 points (e.g. 256 x 256 points),
you need six times as much! When running out of memory, portions of memory
are swapped out to disk, which drastically affects speed and system stability.
Therefore, when working on large data sets, try to reduce the amount of data
(e.g. by using pro Fit's command "Data Reduction") before plotting.
Version history
Changes between 2.0.2 and 2.1.0
- improved compatibility with appearance and forthcoming themes
- bug fixes
- introduced the possibility of plotting data points as individual points
when using the "PlotDataXY" feature
Changes between 2.0.2 and 2.0.0
- bug fixes
Changes between 2.0.0 and 1.1.0
- 3D plots can now have ticks, labels and axis names. These items
can appear at each axis line and frame line.
- Surfaces can be textured.
- There's a new surface style: Basic. This style suppresses all shadowing
and ignores the position of the lights.
- You can now save and load the style of a graph - this provides a mechanism
for generating several graphs having the same settings for axes, labels,
camera, etc. The commands for loading, saving and deleting styles are
found in the File menu.
- All 3D plotting programs (for functions, xyz-data, Z(row,col)-data)
have been moved into a single module.
- Picture options are saved in automatically restored when you link the
module the next time.
- Bug fixes.
Changes between version 1.1.0 and version 1.0.0:
- Added the module "Plot3D Data Z(row,col)". This is a module
for 3D plotting of data. It takes a two-dimensional array
as input.
- Added a menu item "Camera & Illumination" for setting
the projection (parallel, point) and the location
of the illuminating lights.
- PICT Options now allows to set the depth of the PICTs
- PICT Options now allows to make a picture "transparent".
A transparent picture has the transfermode srcOr instead
of srcCopy
- The relative lengths of the axes can be set in the
Axes dialog.
- A frame (box) can be added by checking a checkbox in the axes
dialog.
- When creating a pict, the modules now first try to use temporary
memory before using the heap. This reduces the number of
messages "not enough memory"
- The main window shows the version number of the module at its
lower left corner.
For more information see http://www.quansoft.com/